Page({
  data: {},
  onLoad() {
    my.tg.playTTS({
      text: "新建会议",
      openMic: true
    });
     let needStrArr = ["待办", "代办", "带办", "带半", "待半"];
     console.log(needStrArr.includes("代办"))
  },
   pagechage(dish){
      
    let needStrArr = ["待办", "代办", "带办", "带半", "待半"];
    let newmeeting=['新建会议','信件','心间','兴建',"新建"];
    let strArr = ["首", "首页", "守夜", "授业", "受业"];
    my.alert({content: needStrArr.includes(dish)})
    if(needStrArr.includes(dish)){
      this.toPage("../need/need")
    }else if (strArr.includes(dish)) {
      this.toPage("../index/index")
    } else {
      my.tg.playTTS({ text: '您好，您可以说：打开首页', openMic: true });
    }
  },
});
